<!DOCTYPE html>
<html>
<head>
<base href="${basePath}">
<meta charset="UTF-8">
<title>销售工作月报</title> 
$!{include("import_js_css.html")}
<link rel="stylesheet" type="text/css"
	href="${resourcePath}/css/basic.css" />
	<link draggable="true" rel="stylesheet" href="${viewPath}/resources/css/statistics.css" />
	<style type="text/css">
#stat_list table thead tr th {
	vertical-align: middle !important;
	text-align: center; 
}

</style>
</head>
<body>
$!{include("header.html")}
	  
	<div class="container menu_all">
		<div>
		<div style="float:left; margin-top:20px;">分馆&nbsp;&nbsp;${hallName}</div>
		<form action="yueyogaAdmin/monthReports.jhtml" method="POST" name="cardreports">
				 <div style="float:left; margin-top:20px; margin-left:160px; margin-right:5px;">统计截止年份</div>
				 <div id="inputStartDate1" class="input-group date"
						data-date-format="YYYY" style="float:left; width:200px; margin-top:15px;">
						<input id="inputStart1" name="startdate1" type='text' class="form-control" value="${startdate1}" />
						<span class="input-group-addon"><span
							class="glyphicon glyphicon-time"></span> </span>
					</div>
				 <div style="float:left; margin-top:15px;">
				 	<input id="but" type="submit" class="btn btn-ade-default" style="background:#dddd; margin-left:5px;" value="搜索"></input>
				 </div>
		 </form>
	  </div>
	  <br><br>

			<div id="stat_list" class="panel panel-default clear">
			<table class="table table-bordered table-hover table-condensed" style="text-align: center; border-bottom: 1px solid #DDDDDD;">
				<thead>
				<tr>
					<th rowspan="2" style="vertical-align: middle !important;">月份</th>
					<th colspan="3">新销售</th>
					<th colspan="3">续费</th>
					<th colspan="3">商品</th>
					<th colspan="3">充值</th>
				</tr>
				<tr>
					<th>业绩</th>
					<th>任务</th>
					<th>完成率</th>
					<th>业绩</th>
					<th>任务</th>
					<th>完成率</th>
					<th>业绩</th>
					<th>任务</th>
					<th>完成率</th>
					<th>业绩</th>
					<th>任务</th>
					<th>完成率</th>
				</tr>
				</thead>
				<!-- #set(MonthConsult monthReports) -->
				<!-- #foreach(MonthReport m : monthReports.mont) -->
				<tr>
				    <td>${m.months}月</td>
					<td>${m.newSellResults.format("0.00")}</td>
					<td>0</td>
					<td>---</td>
					<td>${m.renewResults.format("0.00")}</td>
					<td>0</td>
					<td>---</td>
					<td>${m.goodsResults.format("0.00")}</td>
					<td>0</td>
					<td>---</td>
					<td>${m.payResults.format("0.00")}</td>
					<td>0</td>
					<td>---</td>
				</tr>
				<!-- #end -->
				
				<tr>
					<td>总计</td>
					<td>${monthReports.newSelltotalResults.format("0.00")}</td>
					<td>0</td>
					<td>---</td>
					<td>${monthReports.renewtotalResults.format("0.00")}</td>
					<td>0</td>
					<td>---</td>
					<td>${monthReports.goodstotalResults.format("0.00")}</td>
					<td>0</td>
					<td>---</td>
					<td>${monthReports.paytotalResults.format("0.00")}</td>
					<td>0</td>
					<td>---</td>
				</tr>
			</table>
		</div>	
   </div>
   <script type="text/javascript">
   $(function(){
	   $("#inputStartDate1").datetimepicker({
		   language : "zh-CN"
	   });
   });
</script>
</body>
</html>